package com.xuecheng.api.content;

import com.xuecheng.api.content.model.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.content.model.vo.CourseAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * <p></p>
 *
 * @Description:
 */
@Api("课程运营审核api")
public interface CourseAuditApi {

    @ApiOperation("课程基础信息条件分页查询-运营")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "model",dataType = "QueryCourseModel",paramType = "body")
    })
    PageVO queryCourseList(PageRequestParams params, QueryCourseModel model);


    @ApiOperation("课程审核-运营")
    @ApiImplicitParam(name = "auditVO"
                ,value = "课程信息vo"
                ,required = true
                ,dataType = "CourseAuditVO"
                ,paramType = "body"
    )
    void approveCourse(CourseAuditVO auditVO);

}
